import 'package:flutter/material.dart';

import '../../config/string_config.dart';
import '../../utils/screen_util.dart';

PageTipWidget({
  required BuildContext context,
  String? title,
  Color? titleColor,
  String? message,
  Color? messageColor,
}) {
  return Stack(children: [
    Column(crossAxisAlignment: CrossAxisAlignment.start, children: [
      Text(
        title??'${StringConfig.Welcome}!',
        style: TextStyle(
          color: titleColor??Color(0xFF002B7F),
          fontSize: ScreenUtil.setSp(28),
          fontWeight: FontWeight.w700,
        ),
      ),
      const SizedBox(height: 8),
       Text(
        message?? StringConfig.t1,
        style: TextStyle(
          color: messageColor??Color(0xFF666666),
          fontSize: 16,
          height: 1.5,
        ),
      )
    ])
  ]);
}
